html
  overflow-y: scroll

body
  overflow-y: visible

  // We have a lot of specs that measure the distance of elements
  // from the screen edge, so we can't have the Jasmine runner to have
  // any margins on the body.
  margin: 0

// Reduce the backdrop flashing during modal specs
up-modal-backdrop,
up-cover-backdrop,
up-drawer-backdrop
  background: rgba(90, 90, 90, 0.01)

.default-fallback
  position: fixed
  top: 0
  left: 0
  width: 500px
  height: 300px
  background-color: rgba(255, 255, 255, 0.7)

  &:empty
    display: none

// For specs that need to query computed styles
.red-background
  background-color: #f00

:focus:not(:focus-visible, .up-focus-visible), .up-focus-hidden
  outline: none !important

:focus-visible:not(.up-focus-hidden), .up-focus-visible
  outline: 5px solid royalblue !important

.jasmine_html-reporter
  padding: 0
  margin: 0

  .jasmine-banner
    margin: 0
    padding: 8px 4px
